package com.createdevelopment.gaoyou;

import android.os.Bundle;
import android.annotation.SuppressLint;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.widget.ImageView;

@SuppressLint("NewApi")
public class AreaInfoActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_area_info);
		ImageView overView = (ImageView) findViewById(R.id.area_overview);
		Intent intent = getIntent();
		String area = intent.getStringExtra("area");
		if (area.equals(InvestmentAreaActivity.AREA_ECONOMY_DEVELOPMENT)) {
			overView.setImageResource(R.drawable.investment_area_1_overview);
			
		} else if (area.equals(InvestmentAreaActivity.AREA_LIGHT_INDUSTRY)) {

		} else if (area.equals(InvestmentAreaActivity.AREA_LINGTANG_ELECTRONIC_LINE_INDUSTRY)) {

		} else if (area.equals(InvestmentAreaActivity.AREA_LINGTANG_PHOTOVOLTAIC_INDUSTRY)) {

		} else if (area.equals(InvestmentAreaActivity.AREA_SOUTH_NEW_INDUSTRY)) {

		} else {

		}
		ActionBar bar = this.getActionBar();
		bar.setTitle("");
		bar.setDisplayUseLogoEnabled(false);
		bar.setDisplayShowHomeEnabled(false);

	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.area_info, menu);
		return true;
	}

}
